package ysm.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import ysm.entity.Registergraduates;

@Component
@Mapper
public interface RegistergraduatesMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Registergraduates record);

    int insertSelective(Registergraduates record);

    Registergraduates selectByPrimaryKey(Integer id);
    
    Registergraduates selectRGByUid(Integer uid);

    int updateByPrimaryKeySelective(Registergraduates record);

    int updateByPrimaryKey(Registergraduates record);
    
    List<Registergraduates> loadAllRG();
}